package com.ifyyf.dao;

import com.ifyyf.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author if
 * @Description: What is it
 * @Date 2021-08-23 下午 04:30
 */
@Mapper
public interface DeptDao {
    int addDept(Dept dept);
    int delDept(String deptno);
    int updateDept(Dept dept);
    Dept getById(Long deptno);
    List<Dept> getAll();
}
